BadRequestException

Kind of class:class
Inherits from:Error
Author:The gotoAndPlay() Team
http://www.smartfoxserver.com
http://www.gotoandplay.it
Classpath:com.smartfoxserver.redbox.exceptions.BadRequestException
File last modified:Tuesday, 24 June 2008, 16:41:21
A RedBox exception.

Summary


Constructor
  • BadRequestException (message:String)
    • Thrown when the wrong request type is passed to the com.smartfoxserver.redbox.AVChatManager.sendChatRequest method.

Constructor

BadRequestException

function BadRequestException (
message:String)

Parameters:
message:
the error message.
Example:
  • The following example shows how to handle the "BadRequestException" exception.
    try
    {
        avChatMan.sendChatRequest("wrongType", 3, true, true)
    }
    catch (err:BadRequestException)
    {
        trace (err.message)
    }